package org.ytor.core.sysapi.sse.service;

import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * created by yangtong on 2025/7/8 11:07:28
 * <br/>
 * sse注册器
 */
@FunctionalInterface
public interface ISseRegister {

    /**
     * 注册sse
     */
    void doRegister(String id, SseEmitter emitter);

}
